package com.ugoodtech.mdcc.core.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

@ApiModel("满意度处理结果表")
@Entity
@Table(name = "customer_manage_note")
public class CustomerManageNote extends BaseEntity {

    @ApiModelProperty("处理报告的人")
    private User manageUser;

    @ApiModelProperty("满意度报告")
    private StationReport customerReport;

    @ApiModelProperty("处理结果")
    private String manageNote;

    @ManyToOne
    @JoinColumn(name = "user_id")
    public User getManageUser() {
        return manageUser;
    }

    public void setManageUser(User manageUser) {
        this.manageUser = manageUser;
    }

    @ManyToOne
    @JoinColumn(name = "customer_report_id")
    public StationReport getCustomerReport() {
        return customerReport;
    }

    public void setCustomerReport(StationReport customerReport) {
        this.customerReport = customerReport;
    }

    @Column(name = "manage_note")
    public String getManageNote() {
        return manageNote;
    }

    public void setManageNote(String manageNote) {
        this.manageNote = manageNote;
    }
}
